package com.service;

import java.util.List;

public interface IMemberService {
	/*
	 * 获取用户
	 */
	public Member getMember(Integer id);
	
	/*
	 * openId获取用户
	 */
	public Member getMember(String openId);
	
	/*
	 * 添加用户
	 */
	public Integer addMember(Member member);
	
	/*
	 * 删除用户
	 */
	public void delMember(Integer id);
	
	/*
	 * 删除用户
	 */
	public void delMember(String openId);
	
	/*
	 * 更新用户
	 */
	public void updateMember(Member member);
	
	/*
	 * 用户列表
	 */
	public  List<Member> listUser();
}

}
